package com.kingdee.eas.ec.garden.settle.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.ec.garden.settle.GaCarRentSettleBillEntryInfo;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.basedata.BaseBillEntryCollection;
import com.kingdee.eas.ec.contract.biz.ContractSettleEntryCollection;
import com.kingdee.eas.ec.basedata.ResourceEntryCollection;
import com.kingdee.eas.ec.garden.settle.GaCarRentSettleBillEntryCollection;
import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.BillEntryBaseCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.ec.basedata.CbsEntryCollection;
import com.kingdee.eas.ec.contract.biz.app.ContractSettleEntryControllerBean;



public abstract class AbstractGaCarRentSettleBillEntryControllerBean extends ContractSettleEntryControllerBean implements GaCarRentSettleBillEntryController
{
    protected AbstractGaCarRentSettleBillEntryControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("680C4A2F");
    }

    public GaCarRentSettleBillEntryInfo getGaCarRentSettleBillEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("dc5fb075-fc11-42a5-bbad-55a8305fa631"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryInfo retValue = (GaCarRentSettleBillEntryInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public GaCarRentSettleBillEntryInfo getGaCarRentSettleBillEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("b4c8a0d0-8fe5-428d-860c-f885546c424d"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryInfo retValue = (GaCarRentSettleBillEntryInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public GaCarRentSettleBillEntryInfo getGaCarRentSettleBillEntryInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("5d1107e7-810a-4632-a7e9-f3df698d512d"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryInfo retValue = (GaCarRentSettleBillEntryInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public GaCarRentSettleBillEntryCollection getGaCarRentSettleBillEntryCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("2c4e58f1-7de4-4a70-8d41-8dab4dee0439"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryCollection retValue = (GaCarRentSettleBillEntryCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public GaCarRentSettleBillEntryCollection getGaCarRentSettleBillEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("884bfd2a-90bc-4285-8010-083986574699"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryCollection retValue = (GaCarRentSettleBillEntryCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaCarRentSettleBillEntryCollection getGaCarRentSettleBillEntryCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("1a2c0090-9a1a-4e8c-be67-54b79a6200d9"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaCarRentSettleBillEntryCollection retValue = (GaCarRentSettleBillEntryCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(ContractSettleEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(ResourceEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx) throws BOSException
    {
    	return (CbsEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CbsEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (CbsEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(CbsEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(BaseBillEntryCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(BillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaCarRentSettleBillEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}